package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.PlsEveryBankMonthlyLoanTempVO;

import java.util.List;

/**
 * Service Interface：各支行自营类个人贷款业务月报表临时表服务 
 * @author ligm
 * @date 2019-06-26 
 */
public interface PlsEveryBankMonthlyLoanTempService {
    
	/**
	 * 新增数据 
     * @param inPlsEveryBankMonthlyLoanTempVo
	 * @return 
	 */
	public int insertPlsEveryBankMonthlyLoanTemp(PlsEveryBankMonthlyLoanTempVO inPlsEveryBankMonthlyLoanTempVo);

    /**
	 * 根据主键删除信息 
     * @param inPlsEveryBankMonthlyLoanTempVo
	 * @return 
	 */
	public int deleteByPk(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);

    /**
	 * 根据主键更新信息 
     * @param inPlsEveryBankMonthlyLoanTempVo
	 * @return 
	 */  
	public int updateByPk(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);

    /**
	 * 根据主键查询详情 
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 */
	public PlsEveryBankMonthlyLoanTempVO queryByPk(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);

    /**
	* 一级数据权限
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 */	
	public List<PlsEveryBankMonthlyLoanTempVO> queryAllByLevelOne(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);
	
    /**
	 * 二级数据权限 
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 * @version 0.1
	 */
	public List<PlsEveryBankMonthlyLoanTempVO> queryAllByLevelTwo(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);
	
    /**
	 * 三级数据权限 
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 */
	public List<PlsEveryBankMonthlyLoanTempVO> queryAllByLevelThree(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);
	
    /**
	 * 四级数据权限 
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 */
    public List<PlsEveryBankMonthlyLoanTempVO> queryAllByLevelFour(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);

    /**
	 * 五级数据权限
     * @param plsEveryBankMonthlyLoanTemp
	 * @return 
	 */
    public List<PlsEveryBankMonthlyLoanTempVO> queryAllByLevelFive(PlsEveryBankMonthlyLoanTempVO plsEveryBankMonthlyLoanTempVo);

    /**
     * 需求编号：2019D0519<br/>
     * 问题编号：<br/>
     * 功能描述：批量插入数据到临时表<br/>
     * 开发人员：周才顺<br/>
     * 创建时间：2019年6月26日<br/>
     * @author zhoucs1
     * @since  1.0
     * @version 1.0
     * @param plsEveryBankMonthlyLoanTempVOList
     * @return
     */
	public int batchInsert(List<PlsEveryBankMonthlyLoanTempVO> plsEveryBankMonthlyLoanTempVOList);

	/**
	 * 需求编号：2019D0519<br/>
	 * 问题编号：<br/>
	 * 功能描述：清空临时表的所有记录<br/>
	 * 开发人员：周才顺<br/>
	 * 创建时间：2019年6月28日<br/>
	 * @author zhoucs1
	 * @since  1.0
	 * @version 1.0
	 */
	public void deleteAll();
}
